﻿@{
    ViewBag.Title = "保存用户表_i";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@model MiniWeb.Web.Controllers.Admin.AccountsInfoManager.ViewModels.SaveAccountsInfo
<link href="../../Scripts/jquery-validation-engine/css/template.css" rel="stylesheet"
    type="text/css" />
<link href="../../Scripts/jquery-validation-engine/css/validationEngine.jquery.css"
    rel="stylesheet" type="text/css" />
<link href="../../Scripts/kindeditor-4.1.4/themes/default/default.css" rel="stylesheet"
    type="text/css" />
<script src="../../Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="../../Scripts/jquery-validation-engine/js/jquery.validationEngine.js"
    type="text/javascript"></script>
<script src="../../Scripts/jquery-validation-engine/js/languages/jquery.validationEngine-zh_CN.js"
    type="text/javascript"></script>
<script src="../../Scripts/kindeditor-4.1.4/kindeditor-min.js" type="text/javascript"></script>
<script src="../../Scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<script type="text/javascript">
    $(function () {
        $("#form1").validationEngine();
    })
</script>
<div class="wrap">
    <div class="right_box_card">
        <ul>
            <li class="right_box_card1"><a href="#">保存用户表_i</a></li>
        </ul>
    </div>
    <div>
        <div style="color: red;">
        </div>
        @using (Html.BeginForm("Save", "AccountsInfoManager", FormMethod.Post, new { @class = "formular", id = "form1", enctype = "multipart/form-data" }))
        {
            @Html.HiddenFor(c => c.ID)
            <table class="enter_tab" width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr height="40">
                    <td class="entry_tab_td1">@Html.LabelFor(c => c.Account)
                    </td>
                    <td class="entry_tab_td2">
                        @Html.TextBoxFor(c => c.Account, new { @class = "validate[required] text-input", style = "" })
                    </td>
                </tr>
                <tr height="40">
                    <td class="entry_tab_td1">@Html.LabelFor(c => c.Password)
                    </td>
                    <td class="entry_tab_td2">
                        @Html.TextBoxFor(c => c.Password, new { @class = " text-input", style = "" })
                    </td>
                </tr>
               @* <tr height="40">
                    <td class="entry_tab_td1">@Html.LabelFor(c => c.HeadImg)
                    </td>
                    <td class="entry_tab_td2">
                        <input name="HeadImg" type="file" id="HeadImg" />
                    </td>
                </tr>*@
                 <tr height="40">
                    <td class="entry_tab_td1">@Html.LabelFor(c => c.Phone)
                    </td>
                    <td class="entry_tab_td2">
                          @Html.TextBoxFor(c => c.Phone, new { @class = "validate[required] text-input", style = "" })
                    </td>
                </tr>
                <tr height="40">
                    <td class="entry_tab_td1">@Html.LabelFor(c => c.Email)
                    </td>
                    <td class="entry_tab_td2">
                          @Html.TextBoxFor(c => c.Email, new { @class = "validate[required] text-input", style = "" })
                    </td>
                </tr>

                <tr>
                    <td>
                    </td>
                    <td style="line-height: 30px;">@Html.ValidationSummary()
                    </td>
                </tr>
                <tr>
                    <td>
                        <input type="submit" value="保存" class="submit" style="width: 100px; height: 30px;" />
                    </td>
                    <td>
                    </td>
                </tr>
            </table> 
        }
    </div>
</div>
